package com.fulihui.wgj.admin.api.user.request;

import com.fulihui.common.request.web.CommonRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @author: Levon
 * @version: v 0.1 2018-06-14 15:04
 */
@Getter
@Setter
@ToString
@ApiModel("登录请求对象")
public class UserLoginReq extends CommonRequest {

    @ApiModelProperty("账号")
    @NotBlank(message = "账号不能为空")
    private String loginId;

    @ApiModelProperty("密码")
    @NotBlank(message = "密码不能为空")
    private String password;
}
